Skip to content

Prevents division error in battery instantiation. - #431

Merged
tcr3dr merged 3 commits into
masterfrom
tcr-batteryrace
Nov 11, 2015
Merged

tcr3dr merged 3 commits into
masterfrom
tcr-batteryrace

Conversation

@tcr3dr

@tcr3dr tcr3dr commented Nov 7, 2015

Copy link
Copy Markdown
Contributor

Fixes #298.

@tcr3dr
tcr3dr force-pushed the tcr-batteryrace branch 2 times, most recently from 366623b to a60a3fd Compare November 11, 2015 20:11
@tcr3dr

tcr3dr commented Nov 11, 2015

Copy link
Copy Markdown
Contributor Author

This test is now fixed to have an actual test, which proved there was an actual bug in the implementation. Note that the _initialize flag to connect is private and shouldn't be used / documented yet.

@hamishwillee

Copy link
Copy Markdown
Contributor

@tcr3dr Cool. Unusual to see a private argument to a function.

@tcr3dr

tcr3dr commented Nov 11, 2015

Copy link
Copy Markdown
Contributor Author

@hamishwillee It is! I can refactor this by splitting out the initialization of the connect() method, but that's lower priority.

tcr3dr added a commit that referenced this pull request Nov 11, 2015
Prevents division error in battery instantiation.
@tcr3dr
tcr3dr merged commit e9e4035 into master Nov 11, 2015
@tcr3dr
tcr3dr deleted the tcr-batteryrace branch November 11, 2015 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants